//************************************************ 
//  *Author：jxx
//  *QQ：283591387
//  *代码由框架生成,任何更改都可能导致被代码生成器覆盖
//  *业务请在Overtime.js中编写
//************************************************ 
export default function() {
	return {
		editFormFields: {"starttime":"","endtime":"","reason":""},
		editFormOptions: [{"title":"申请开始时间","field":"starttime","type":"datetime"},
                               {"title":"申请结束时间","field":"endtime","type":"datetime"},
                               {"title":"加班理由","field":"reason","type":"text"}],
		searchFormFields: {"Creator":"","starttime":"","endtime":"","reason":"","AuditStatus":""},
		searchFormOptions: [{"title":"创建人","field":"Creator"},{"title":"申请开始时间","field":"starttime"},{"title":"申请结束时间","field":"endtime"},{"title":"加班理由","field":"reason"},{"title":"流程状态","field":"AuditStatus","type":"number"}],
		columns: [{field:'Creator',title:'创建人',type:'string',readonly:true},
                       {field:'starttime',title:'申请开始时间',type:'datetime'},
                       {field:'endtime',title:'申请结束时间',type:'datetime'},
                       {field:'reason',title:'加班理由',type:'string'},
                       {field:'AuditStatus',title:'流程状态',type:'int',readonly:true}],
		table: {
			key: 'id',
			footer: "Foots",
			cnName: '加班申请',
			name: 'Overtime',
			url: "/Overtime/",
			sortName: "CreatedDate"
		}
	}
}
